using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.Telephony;

namespace Functions
{
	public class Sim : Activity
	{
		public void ReadSimInfo()
		{
			TelephonyManager tm = (TelephonyManager) this.GetSystemService(Context.TelephonyService);
	        string deviceid = tm.DeviceId;
	        string tel = tm.Line1Number;     //取出用户手机号码
	        string imei = tm.SimSerialNumber;  //取出IMEI
	        string imsi = tm.SubscriberId;     //取出IMSI
		}
	}
}

